package com.ruimei.entitys.enums;

public enum EnrolmentType
{
  NEARBY("就近入学"),  EXAM("统一招考"),  ART("艺体特招"),  OTHER("其它");
  
  private String name;
  
  private EnrolmentType(String name)
  {
    this.name = name;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public static EnrolmentType matching(String ch)
  {
    switch (ch)
    {
    case "就近入学": 
      return NEARBY;
    case "统一招考": 
      return EXAM;
    case "艺体特招": 
      return ART;
    case "其它": 
      return OTHER;
    }
    return EXAM;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\entitys\enums\EnrolmentType.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */